	<div class="bh-page-index-jj">
			<div class="bh-zhhmm-jj">
				<div class="bh-zhhmm-top-jj">
					<h1>注册</h1>
				</div>
				<div class="bh-zhhmm-center-jj">
					<div class="bh-ly-jj-register bh-ly-xf-register" style="width:500px;">
						<table>
								<tr height="40">
									<td align="right">类型:<span class="bh-ly-biaodan-tishi"><b>&nbsp;</b></td>
									<td colspan="2">
									<?php echo CHtml::radioButtonList('type', empty($_GET['type'])?'ProviderAccount':$_GET['type'], array(
										'ProviderAccount' => '供货商',
										'DealerAccount' => '经销商',
									),array('class'=>'type','separator'=>'&nbsp;&nbsp;'))?>
									</td>
								</tr>
						</table>
						<div id='ProviderAccount' class='account'>
							<?php $this->renderPartial('register/provideraccount',array('model'=>$provider));	?>
						</div>
						<div id='DealerAccount' class='account' style='display:none'>
							<?php $this->renderPartial('register/dealeraccount',array('model'=>$dealer));	?>
						</div>
					</div>
				</div>
				<div class="bh-zhhmm-bottom-jj"></div>
			</div>
		</div>
		<div class="bh-space"></div>
<script>
accountShow('<?php echo empty($_GET['type'])?'ProviderAccount':$_GET['type'];?>');
$('.type').live('click',function() {
	accountShow($(this).val());
});
function accountShow(val) {
	$('.account').hide();
	$('#'+val).show();
}
</script>